
import java.awt.Color;
import java.awt.event.MouseEvent;
import java.awt.event.MouseListener;
import java.awt.event.MouseMotionListener;
import javax.swing.Icon;
import javax.swing.JButton;

public class Boton {

    boolean Arriba, Izq, Der;
    boolean Ocupado;
    boolean Explotado;
    boolean clickeado;
    int indice;
    MouseListener mml;
    JButton boton = new JButton();
    

    public Boton(boolean Arriba,boolean Izq, boolean Der,int indice) {
        this.Arriba = Arriba;
        this.Izq = Izq;
        this.Der = Der;
        this.Ocupado = false;
        this.clickeado=false;
        this.Explotado=false;
        this.indice=indice;
        boton.setBackground(Color.BLUE);
    }
}
